/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <filesystem>
#include <引擎数据类型.h>


EngineAPI_EXPORT void f_file_删除文件(const std::filesystem::path& path);


EngineAPI_EXPORT const uint8* f_prop_Load(S_Props& prop, const uint8* 块);
EngineAPI_EXPORT void f_prop_Save(S_Props& prop, S_UI8Array* 内存块);

EngineAPI_EXPORT const uint8* f_prop_Load2(S_Props& prop, const uint8* 块);
EngineAPI_EXPORT void f_prop_Save2(S_Props& prop, S_UI8Array* 块);


std::filesystem::path f_file_getUserHomeDirectory();



std::string f_file_文档转字符串(const S_文档文本& doc);




